# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "dionysus/version"

Gem::Specification.new do |s|
  s.name        = "dionysus"
  s.version     = Dionysus::VERSION
  s.license     = "MIT"
  s.authors     = ["Travis D. Warlick, Jr."]
  s.email       = ["twarlick@gmail.com"]
  s.homepage    = "http://tekwiz.github.com/dionysus"
  s.summary     = File.read("description.md").gsub(/\s*\n+\s*/, " ")
  s.description = File.read("description.md").gsub(/\s*\n+\s*/, " ")

  s.files                 = Dir[ *%w[lib/**/*.rb *file description.md] ].tap do |a|
                              a.delete_if {|fn| File.basename(fn) =~ /^\./}
                            end
  s.test_files            = Dir[ *%w[spec/**/*.rb] ]
  s.extra_rdoc_files      = Dir[ *%w[README.md CONTRIBUTORS.md LICENSE docs/*.md] ]
  s.rdoc_options.concat   ["--main",  "README.md"]
  s.require_paths         = ["lib"]

  s.required_ruby_version = ">= 1.8.7"

  s.add_runtime_dependency "activesupport",  "~> 3.1"
  # see Gemfile for development dependencies
end
